/**
 * @Author: XXHH
 * @CreateTime: 2025-06-06
 */
public class Demo46 {
    public static void main(String[] args) {
        Object locker = new Object();
        int i = 0;
        synchronized (locker){
            synchronized (locker){
                synchronized (locker){
                    System.out.println(i);
                }
            }
        }
    }
}
